package com.tgy.ailiyun.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tgy.ailiyun.entity.User;
import com.tgy.ailiyun.entity.UserLoginInf;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface UserDao extends BaseMapper<User> {

/*    @Select("SELECT md5password FROM user_login_inf where loginUsername = #{loginUsername}")
    public  String getMD5(@Param("loginUsername") String loginUsername);*/


    @Select("SELECT md5 FROM user where login = #{login}")
    public  String getMD5(@Param("login") String login);

}
